package edu.ptu.communityplatform.mapping;


import edu.ptu.communityplatform.domain.entity.Role;
import edu.ptu.communityplatform.domain.vos.RoleVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @BelongsProject: communityPlatform
 * @BelongsPackage: edu.ptu.communityplatform.mapping
 * @Author: HYJ
 * @CreateTime: 2025-04-08  18:13
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface RoleMapping {
    RoleMapping ROLE_MAPPING = Mappers.getMapper(RoleMapping.class);

    List<RoleVo> roleToRoleVo(List<Role> role);
}
